#!/usr/bin/env python

import os

CONFIG = {}

# Basic path related
CONFIG['cur_path'] = os.path.dirname(os.path.abspath(__file__))
CONFIG['root_path'] = os.path.dirname(CONFIG['cur_path']) + '/'
CONFIG['tmpl_path'] = CONFIG['root_path'] + 'template/'

# Directory related
CONFIG['dir_handle'] = 'handle'
CONFIG['dir_util'] = 'util'

# Database related
CONFIG['db_host'] = '192.168.174.130'
CONFIG['db_user'] = 'root'
CONFIG['db_passwd'] = '178'
CONFIG['db_name'] = 'web_staff'
CONFIG['db_charset'] = 'utf8'

CONFIG['handle_default'] = 'index'
CONFIG['handle_error'] = 'error'

# Website related
CONFIG['website_static'] = '192.168.174.131:8080'
